package com.vhall.component.entity.ctrl;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * @author dongsong
 */
@Data
@TableName("anchor_extends")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "AnchorExtendsEntity对象", description = "主播用户扩展表")
public class AnchorExtendsEntity implements Serializable {


    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty(value = "账户编号")
    @JsonProperty("account_id")
    @TableField("account_id")
    private Integer accountId;

    @ApiModelProperty(value = "并发限制数量")
    @JsonProperty("connect_num")
    @TableField("connect_num")
    private Integer connectNum;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("created_at")
    @TableField("created_at")
    private LocalDateTime createdAt;


    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @TableField("deleted_at")
    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;

}
